package com.eflow.engine.service;

import java.util.List;

import com.baomidou.mybatisplus.extension.service.IService;
import com.eflow.model.domain.EflowModel;
import org.flowable.engine.repository.Deployment;

/**
 * 流程模型Service接口
 *
 * @author eflow
 * @date 2021-02-09
 */
public interface IEflowModelService extends IService<EflowModel>
{

    /**
     * 保存模型
     * @param id
     * @param xml
     */
    void saveModel(String id, String xml);
    /**
     * 部署模型
     * @param id
     * @return Deployment
     */
    Deployment deployModel(String id);
}
